﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EmployeePayrollAdjustments.ascx.cs" Inherits="Legazpi.Payroll.Web.Usercontrols.EmployeePayrollAdjustments" %>

            <asp:Repeater ID="repeater" runat="server" onitemdatabound="repeater_ItemDataBound">
                <HeaderTemplate>
                    
                    <table id="CashAdvbl" cellpadding="1" cellspacing="1" 
                        border="0" class="display">
                      <thead>
                        <tr>                                                                                  
                            <th align="left">Date</th>
                            <th align="left">Code</th>
                            <th align="left">Description</th>
                            <th align="left">Debit(-)</th>
                            <th align="left">Credit(+)</th>                                                                         
                        </tr>
                      </thead>
                    <tbody>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>                                                         
                      <td><asp:Literal ID="literalDateAdded" runat="server"></asp:Literal></td>
                      <td><asp:Literal ID="literalCode" runat="server"></asp:Literal></td>  
                      <td><asp:Literal ID="literalDescription" runat="server"></asp:Literal></td>                      
                      <td><%# ((double)Eval("Debit")).ToString("N")%></td>
                      <td><%# ((double)Eval("Credit")).ToString("N")%></td>                      
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                        </tbody>
                    </table>
                </FooterTemplate>
            </asp:Repeater> 